<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tetris Game: CUserInputEventReceiver Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tetris Game
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Test game project created via Irrlicht and Qt</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_c_user_input_event_receiver.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CUserInputEventReceiver Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CUserInputEventReceiver" -->
<p><a href="class_c_user_input_event_receiver-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#aa63b5dd3047e452043f8d63b38d25b19">CUserInputEventReceiver</a> (<a class="el" href="class_c_game_field_manager.html">CGameFieldManager</a> *gameFieldManager, bool twoDimensionalMode=true, <a class="el" href="class_c_figure.html">CFigure</a> *figure=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#ab2666015c623bc7b7bf15139aa943f41">~CUserInputEventReceiver</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#a91fa11c3a04b59dacb8e3416108221d5">OnEvent</a> (const irr::SEvent &amp;event)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_figure.html">CFigure</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#a35bff656b35a7d16a2e055ad67d28761">getControllingFigure</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#aaffea15fe2857dc2fec11d44aa26c810">setControllingFigure</a> (<a class="el" href="class_c_figure.html">CFigure</a> *newFigure)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#ae2a9eec1ea56775ef695aa15959c0d06">getTwoDimensionalMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#a742b00af796200bdc7e2a55aabb9ff83">setTwoDimensionalMode</a> (bool newValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#ab9a0296e645b68ce1601143f1e03e88c">isPause</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_user_input_event_receiver.html#a3b714104b2c235fa7a8117d6f40ef524">setPause</a> (bool newPauseValue)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa63b5dd3047e452043f8d63b38d25b19"></a><!-- doxytag: member="CUserInputEventReceiver::CUserInputEventReceiver" ref="aa63b5dd3047e452043f8d63b38d25b19" args="(CGameFieldManager *gameFieldManager, bool twoDimensionalMode=true, CFigure *figure=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_user_input_event_receiver.html#aa63b5dd3047e452043f8d63b38d25b19">CUserInputEventReceiver::CUserInputEventReceiver</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_game_field_manager.html">CGameFieldManager</a> *&#160;</td>
          <td class="paramname"><em>gameFieldManager</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>twoDimensionalMode</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_figure.html">CFigure</a> *&#160;</td>
          <td class="paramname"><em>figure</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">gameFieldManager</td><td>- game field manager </td></tr>
    <tr><td class="paramname">twoDimensionalMode</td><td>- true, if game proceeds in two dimensions, false otherwise </td></tr>
    <tr><td class="paramname">figure</td><td>- figure to manipulate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab2666015c623bc7b7bf15139aa943f41"></a><!-- doxytag: member="CUserInputEventReceiver::~CUserInputEventReceiver" ref="ab2666015c623bc7b7bf15139aa943f41" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_user_input_event_receiver.html#ab2666015c623bc7b7bf15139aa943f41">CUserInputEventReceiver::~CUserInputEventReceiver</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor, not implemented </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a35bff656b35a7d16a2e055ad67d28761"></a><!-- doxytag: member="CUserInputEventReceiver::getControllingFigure" ref="a35bff656b35a7d16a2e055ad67d28761" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_figure.html">CFigure</a> * <a class="el" href="class_c_user_input_event_receiver.html#a35bff656b35a7d16a2e055ad67d28761">CUserInputEventReceiver::getControllingFigure</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to controlling figure </dd></dl>

</div>
</div>
<a class="anchor" id="ae2a9eec1ea56775ef695aa15959c0d06"></a><!-- doxytag: member="CUserInputEventReceiver::getTwoDimensionalMode" ref="ae2a9eec1ea56775ef695aa15959c0d06" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_user_input_event_receiver.html#ae2a9eec1ea56775ef695aa15959c0d06">CUserInputEventReceiver::getTwoDimensionalMode</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if game proceeds in two dimensions, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="ab9a0296e645b68ce1601143f1e03e88c"></a><!-- doxytag: member="CUserInputEventReceiver::isPause" ref="ab9a0296e645b68ce1601143f1e03e88c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_user_input_event_receiver.html#ab9a0296e645b68ce1601143f1e03e88c">CUserInputEventReceiver::isPause</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if game is paused, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a91fa11c3a04b59dacb8e3416108221d5"></a><!-- doxytag: member="CUserInputEventReceiver::OnEvent" ref="a91fa11c3a04b59dacb8e3416108221d5" args="(const irr::SEvent &amp;event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_user_input_event_receiver.html#a91fa11c3a04b59dacb8e3416108221d5">CUserInputEventReceiver::OnEvent</a> </td>
          <td>(</td>
          <td class="paramtype">const irr::SEvent &amp;&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Documentation for all virtual overriden methods see in Irrlicht include files </p>

</div>
</div>
<a class="anchor" id="aaffea15fe2857dc2fec11d44aa26c810"></a><!-- doxytag: member="CUserInputEventReceiver::setControllingFigure" ref="aaffea15fe2857dc2fec11d44aa26c810" args="(CFigure *newFigure)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_user_input_event_receiver.html#aaffea15fe2857dc2fec11d44aa26c810">CUserInputEventReceiver::setControllingFigure</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_figure.html">CFigure</a> *&#160;</td>
          <td class="paramname"><em>newFigure</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newFigure</td><td>- pointer to new controlling figure </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b714104b2c235fa7a8117d6f40ef524"></a><!-- doxytag: member="CUserInputEventReceiver::setPause" ref="a3b714104b2c235fa7a8117d6f40ef524" args="(bool newPauseValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_user_input_event_receiver.html#a3b714104b2c235fa7a8117d6f40ef524">CUserInputEventReceiver::setPause</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newPauseValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newPauseValue</td><td>- new value for paused flag </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a742b00af796200bdc7e2a55aabb9ff83"></a><!-- doxytag: member="CUserInputEventReceiver::setTwoDimensionalMode" ref="a742b00af796200bdc7e2a55aabb9ff83" args="(bool newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_user_input_event_receiver.html#a742b00af796200bdc7e2a55aabb9ff83">CUserInputEventReceiver::setTwoDimensionalMode</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newValue</td><td>- new two dimensions mode value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/hokan/NetBeansProjects/TetrisGame/headers/<a class="el" href="_c_user_input_event_receiver_8h_source.html">CUserInputEventReceiver.h</a></li>
<li>/home/hokan/NetBeansProjects/TetrisGame/sources/CUserInputEventReceiver.cpp</li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_c_user_input_event_receiver.html">CUserInputEventReceiver</a>      </li>

    <li class="footer">Generated on Sun Jul 6 2014 19:35:11 for Tetris Game by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
